package net.huashitong.supervision.AppNew.appService;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.supervision.AppNew.OverdueDept;
import net.huashitong.supervision.AppNew.dao.OverDueDeptDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OverDueDeptService extends StringPKService<OverdueDept> {

    @Autowired
    private OverDueDeptDao dao;

    @Override
    protected BaseDao<OverdueDept, String> getDao() {
        return dao;
    }

    public List<OverdueDept> getOverDept(String year)
    {

        List<OverdueDept> overDept = dao.getOverDept(year);

        return overDept;
    }



}
